<include file="Public:header" />
<link type="text/css" href="__CSS__/info.css" rel="stylesheet" />
<div class="main">
<include file="House:nav" />
<div class="info_main">
<div style="height:25px;"></div>
<div class="main_title">
    <ul>
        <li class="title_01 title_03" data-bid="1" ><a href="javascript:;">楼盘概况</a></li>
        <li data-bid="2"><a href="javascript:;">配套介绍</a></li>
    </ul>
</div>
<div class="main_center" id="tab_1" >
    <div class="line"></div>
    <div class="center_left">
        <div class="left_title">{$house.title}</div>
        <ul class="contact">
            <li class="contact_dh">{$tel[0]}<span> <php>if($tel[1]){</php>转</span> {$tel[1]}<php>}</php>
                <em>( 人工服务时间：8:30 - 18:00 )</em>
            </li>
            <li><a class="mfth free_phone" request-url="{:U('Ajax/houseTel',array('id'=>$house['id']))}" href="javascript:;">免费通话</a></li>
            <li><a class="zxkf" target="_blank" href="{$contact.service}">在线客服</a></li>
        </ul>

        <ul class="lp_center">
            <li>
                <span class="label">楼盘位置：</span> <span class="con">{$address[1]}</span>
            </li>
            <li>
                <span class="label">建筑面积：</span> <span class="con">{$data.jzmj}</span>
            </li>
            <li>
                <span class="label">物业类型：</span> <span class="con">{$data.wylx}</span>
            </li>
            <li>
                <span class="label">户型面积：</span> <span class="con">{$data.hxmj}</span>
            </li>
            <li>
                <span class="label">开盘时间：</span> <span class="con">{$house.open_time|date='Y-m-d',###}</span>
            </li>
            <li>
                <span class="label">建筑类别：</span> <span class="con">{$data.jzlb}</span>
            </li>
            <li>
                <span class="label">入住时间：</span> <span class="con">{$house.room_time|date='Y-m-d',###}</span>
            </li>
            <li>
                <span class="label">装修情况：</span> <span class="con">{$data.zxqk}</span>
            </li>
            <li>
                <span class="label">产　　权：</span> <span class="con">{$data.chanquan}</span>
            </li>
            <li>
                <span class="label">容 积 率：</span> <span class="con">{$data.rjl}</span>
            </li>
            <li>
                <span class="label">户　　数：</span> <span class="con">{$data.hushu}</span>
            </li>
            <li>
                <span class="label">绿 化 率：</span> <span class="con">{$data.lhl}</span>
            </li>
            <li>
                <span class="label">车　　位：</span> <span class="con">{$data.chewei}</span>
            </li>
            <li>
                <span class="label">开 发 商：</span> <span class="con">{$data.kfs}</span>
            </li>
            <li>
                <span class="label">物业公司：</span> <span class="con">{$data.wygs}</span>
            </li>
            <li id="label_zh">
                <span class="label">道路交通：</span> <span class="con">{$data.dljt}</span>
            </li>
        </ul>
    </div>
    <div class="center_right">
        <div class="right_title"><a href="{:U('House/detail',array('id'=>$house['id']))}">{$house.title}</a>价格</div>
        <ul class="price_box">
            <li class="price_01">价格约<span>{$house.average_price}</span>元/平米</li>
            <li class="price_02"><a target="_blank" href="{:U('House/price',array('hid'=>$house['id']))}">查看历史价格</a></li>
        </ul>
        <ul class="jiage_box bjdp" style="margin-top:0px;">
            <php>if($house['discount']){</php>
            <li>
                <label>优惠信息：</label> <p>{$house.discount}</p>
            </li>
            <php>}</php>
            <php>if($house['is_group']){</php>
            <li>
                <label>团购信息：</label> <p>{$house.group_discount}</p>
            </li>
            <php>}</php>
            <php>if($house['coupons']){</php>
            <li>
                <label>独家优惠：</label> <p>{$house.coupons}</p>
            </li>
            <php>}</php>
        </ul>
    </div>
    <div class="line"></div>
</div>
<div class="main_center" id="tab_2" style="display: none" >
<div class="line"></div>
<div>
    <div class="center_left">
        <div class="left_title">销售信息</div>
        <ul class="xsxx_box">
            <li>
                <span class="label">售楼地址：</span> <span class="con">{$house.seller_address}</span>
            </li>
            <li>
                <span class="label">开盘时间：</span> <span class="con">{$house.open_time|date='Y-m-d',###}</span>
            </li>
            <li>
                <span class="label">入住时间：</span> <span class="con">{$house.room_time|date='Y-m-d',###}</span>
            </li>
            <li>
                <span class="label">销售状况：</span> <span class="con" style="color: red">{$menu[4][$house['house_status']]['name']}</span>
            </li>
        </ul>
        <div class="left_title">价格信息</div>
        <ul class="jgxx_box">
            <li>
                <span class="label">开 盘 价：</span> <span class="con">{$house.price}元/平米</span>
            </li>
            <li>
                <span class="label">均　　价：</span> <span class="con">{$house.average_price}元/平米</span>
            </li>
            <php>if($house['discount']){</php>
            <li>
                <span class="label">优惠信息：</span> <span class="con">{$house.discount}</span>
            </li>
            <php>}</php>
            <php>if($house['is_group']){</php>
            <li>
                <span class="label">团购信息：</span> <span class="con">{$house.group_discount}</span>
            </li>
            <php>}</php>
            <php>if($house['coupons']){</php>
            <li>
                <span class="label">独家优惠：</span> <span class="con">{$house.coupons}</span>
            </li>
            <php>}</php>
            <li>
                <span class="label">历史价格：</span> <span class="con">最新的6条价格信息<em>&nbsp;&nbsp;|&nbsp;&nbsp;</em><a class="con_01" target="_blank" href="{:U('House/price',array('hid'=>$house['id']))}">查看历史价格</a></span>
            </li>
        </ul>
        <div class="w_table">
            <table class="s_table">
                <tbody>
                <tr>
                    <th width="15%">记录时间</th>
                    <th width="15%">最高价</th>
                    <th width="15%">均价</th>
                    <th width="15%">最低价</th>
                    <th width="40%">价格描述</th>
                </tr>
                <volist name='price_list' id='vo'>
                <tr>
                    <td>{$vo.add_time|date='Y-m-d',###}</td>
                    <td>{$vo.max_price}元/平米</td>
                    <td>{$vo.average_price}元/平米</td>
                    <td>{$vo.min_price}元/平米</td>
                    <td><p class="price_info">{$vo.info}</p></td>
                </tr>
                </volist>
                </tbody>
            </table>
        </div>
        <div class="left_title">配套信息</div>
        <ul class="jgxx_box">
            <li>
                <h2 class="label">学校：</h2>
                <p>
                    <span class="con">{$mating.xuexiao}</span>
                </p>
            </li>
            <li>
                <h2 class="label">购物：</h2> <span class="con">{$mating.gouwu}</span>
            </li>
            <li>
                <h2 class="label">医院：</h2> <span class="con">{$mating.yiyuan}</span>
            </li>
            <li>
                <h2 class="label">生活：</h2> <span class="con">{$mating.shenghuo}</span>
            </li>
            <li>
                <h2 class="label">娱乐：</h2> <span class="con">{$mating.yule}</span>
            </li>
            <li>
                <h2 class="label">餐饮：</h2>
                <p>
                    <span class="con">{$mating.canyin}</span>
                </p>
            </li>
            <li>
                <h2 class="label">周边交通：</h2>
                <p>
                    <span class="con">{$data.dljt}</span>
                </p>
            </li>
        </ul>
        <div class="left_title">装修信息</div>
        <ul class="xsxx_box">
            <li>
                <span class="label">装修情况：</span> <span  class="con">{$data.zxqk}</span>
            </li>
            <li>
                <span class="label">建筑设计：</span> <span  class="con">{$data.jzsj}</span>
            </li>
            <li>
                <span class="label">建筑施工：</span> <span  class="con">{$data.jzsg}</span>
            </li>
            <li>
                <span class="label">广告公司：</span> <span  class="con">{$data.gggs}</span>
            </li>
        </ul>
        <div class="left_title">项目介绍</div>
        <div class="xmjj_text">{$house_data.info}</div>
    </div>
    <div class="center_right">
        <div class="left_title">编辑点评</div>
        <div class="bjdp">
            <ul>
                <li>
                    <label>优势：</label>
                    <p>{$house_data.special}</p>
                </li>
                <li>
                    <label>不足：</label>
                    <p>
                       {$house_data.shortcoming}
                    </p>
                </li>
                <li>
                    <label>价格分析：</label>
                    <p>
                        {$house_data.price_analysis}
                    </p>
                </li>
            </ul>
        </div>
    </div>
</div>
<div class="line"></div>
</div>
</div>
</div>
<script type="text/javascript" src="__JS__/jquery.js"></script>
<script type="text/javascript" src="__JS__/layer/layer.js"></script>
<script type="text/javascript" src="__JS__/public.js"></script>
<script type="text/javascript">
    $(".main_title li").click(function(){
        $(".main_title li").removeClass('title_03');
        $(this).addClass('title_03');
        $(".main_center").hide();
        $("#tab_"+$(this).attr('data-bid')).show();
    });
</script>
<include file="Public:footer" />